package com.pucong.gitee.database.backup.common.entity.database.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author pucong
 */
@Data
@ApiModel("数据库 查询dto")
public class AutoDataSourceSelectDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank
    @ApiModelProperty(value = "连接名称", required = true)
    private String connectName;

    @ApiModelProperty("数据库名称")
    private String databaseName;

}
